package com.lin.vo;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@Component
public class LoginVO {
    @NotNull(message = "登录账号不能为空")
    @NotEmpty(message = "登录账号不能为空的字符串")
    private String userCode;

    @NotNull(message = "登录密码不能为空")
    @NotEmpty(message = "登录密码不能为空的字符串")
    private String userPassword;
}
